package code._10string._05stringbuffer.demo2;

public class Main {
    public static void main(String[] args) {
        //默认容量是16
        StringBuffer sb=new StringBuffer();
        //20
        StringBuffer stringBuffer = new StringBuffer(20);
        //3+16
        StringBuffer stringBuffer1 = new StringBuffer("abc");

    }
}
